import { createRouter,createWebHistory } from "vue-router";
import China from "../views/content/China.vue";
import World from "../views/content/World.vue";
const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/',
            redirect:'/China'
        },
        {
            path:'/China',
            component: China
        },
        {
            path:'/World',
            component: World
        }
    ]  
})
export default router